import datetime


def TimeSecondModZero(modNumber):
    now_time = datetime.datetime.now()
    time1_str = now_time.strftime('%Y-%m-%d %H:%M:%S %f')
    SecondStr = now_time.strftime('%S')
    SecondInt = int(SecondStr)
    if SecondInt % modNumber == 0:
        return True
    else:
        return False


if __name__ == '__main__':
    print(TimeSecondModZero(3))
